<template>
  <el-menu
      background-color="#545c64"
      text-color="#fff"
      active-text-color="yellow"
      default-active="/Home"
      :collapse="isCollapse"
      :collapse-transition="false"
      style="height: 100vh;"
      router="">
    <el-menu-item index="/Home">
      <i class="el-icon-s-home"></i>
      <span slot="title">首页</span>
    </el-menu-item>
    <el-menu-item index="/User">
        <i class="el-icon-user"></i>
        <span slot="title">用户管理</span>
    </el-menu-item>
    <el-menu-item index="/Repair">
      <i class="el-icon-edit"></i>
      <span slot="title">维修订单</span>
    </el-menu-item>
    <el-menu-item index="/Activity">
      <i class="el-icon-chat-line-round"></i>
      <span slot="title">活动</span>
    </el-menu-item>
    <el-menu-item index="/Image">
      <i class="el-icon-camera"></i>
      <span slot="title">图片上传</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  // eslint-disable-next-line vue/multi-word-component-names
  name: "aside",
  data(){
    return{
      //isCollapse:false
    }
  },
  props:{
    isCollapse:Boolean
  }
}
</script>

<style scoped>

</style>